/*
 * WorxResponseDelegate.java
 * 
 * @author david
 */
package org.puresilk.android.net;

import java.net.HttpURLConnection;

/**
 * Defines the callback API for the
 * WorxResponse reader thread.
 */
public interface HttpResponseDelegate {
	public void onReadyToConnect();	
	public void onReadyToPost();
	public void onReadyToRead(HttpURLConnection uc);
	public void onDataWrite(int bytesWritten);
	public void onDataRead(byte [] data, int sz);
	public void onReadError(Exception ex);
	public void onFinishedReading();
}
